<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qquickaccessibleattached.cpp -->
  <title>Accessible QML 类型 | Qt Quick 5.12.3</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="../qtdoc/index.html">Qt 5.12</a></td><td ><a href="qtquick-index.html">Qt Quick 模块</a></td><td ><a href="qtquick-qmlmodule.html">QML类型</a></td><td >Accessible QML 类型</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtquick-index.html">Qt 5.12.3 参考指南</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">目录</a></h3>
<ul>
<li class="level1"><a href="#properties">属性</a></li>
<li class="level1"><a href="#signals">信号</a></li>
<li class="level1"><a href="#details">详细信息</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Accessible QML 类型</h1>
<span class="subtitle"></span>
<!-- $$$Accessible-brief -->
<p>Enables accessibility of QML items. <a href="#details">更多...</a></p>
<!-- @@@Accessible -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> 导入语句：</td><td class="memItemRight bottomAlign"> import QtQuick 2.12</td></tr></table></div><ul>
<li><a href="qml-qtquick-accessible-members.html">所有成员的列表，包括继承成员</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">属性</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#checkStateMixed-prop">checkStateMixed</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#checkable-prop">checkable</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#checked-prop">checked</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#defaultButton-prop">defaultButton</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#description-prop">description</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#editable-prop">editable</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#focusable-prop">focusable</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#focused-prop">focused</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#ignored-prop">ignored</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#multiLine-prop">multiLine</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#name-prop">name</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#passwordEdit-prop">passwordEdit</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#pressed-prop">pressed</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#readOnly-prop">readOnly</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#role-prop">role</a></b></b> : enumeration</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#searchEdit-prop">searchEdit</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#selectable-prop">selectable</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#selectableText-prop">selectableText</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#selected-prop">selected</a></b></b> : bool</li>
</ul>
<a name="signals"></a>
<h2 id="signals">信号</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#decreaseAction-signal">decreaseAction</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#increaseAction-signal">increaseAction</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#nextPageAction-signal">nextPageAction</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#pressAction-signal">pressAction</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#previousPageAction-signal">previousPageAction</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#scrollDownAction-signal">scrollDownAction</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#scrollLeftAction-signal">scrollLeftAction</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#scrollRightAction-signal">scrollRightAction</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#scrollUpAction-signal">scrollUpAction</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtquick-accessible.html#toggleAction-signal">toggleAction</a></b></b>()</li>
</ul>
<!-- $$$Accessible-description -->
<a name="details"></a>
<h2 id="details">详细信息</h2>
<p>This class is part of the <a href="../qtdoc/accessible-qtquick.html">Accessibility for Qt Quick Applications</a>.</p>
<p>Items the user interacts with or that give information to the user need to expose their information to the accessibility framework. Then assistive tools can make use of that information to enable users to interact with the application in various ways. This enables Qt Quick applications to be used with screen-readers for example.</p>
<p>The most important properties are <a href="qml-qtquick-accessible.html#name-prop">name</a>, <a href="qml-qtquick-accessible.html#description-prop">description</a> and <a href="qml-qtquick-accessible.html#role-prop">role</a>.</p>
<p>Example implementation of a simple button:</p>
<pre class="qml">

  <span class="type"><a href="qml-qtquick-rectangle.html">Rectangle</a></span> {
      <span class="name">id</span>: <span class="name">myButton</span>
      <span class="type"><a href="qml-qtquick-text.html">Text</a></span> {
          <span class="name">id</span>: <span class="name">label</span>
          <span class="name">text</span>: <span class="string">&quot;next&quot;</span>
      }
      <span class="name">Accessible</span>.role: <span class="name">Accessible</span>.<span class="name">Button</span>
      <span class="name">Accessible</span>.name: <span class="name">label</span>.<span class="name">text</span>
      <span class="name">Accessible</span>.description: <span class="string">&quot;shows the next page&quot;</span>
      <span class="name">Accessible</span>.onPressAction: {
          <span class="comment">// do a button click</span>
      }
  }

</pre>
<p>The <a href="qml-qtquick-accessible.html#role-prop">role</a> is set to <code>Button</code> to indicate the type of control. <a href="qml-qtquick-accessible.html#name-prop">name</a> is the most important information and bound to the text on the button. The name is a short and consise description of the control and should reflect the visual label. In this case it is not clear what the button does with the name only, so <a href="qml-qtquick-accessible.html#description-prop">description</a> contains an explanation. There is also a signal handler <a href="qml-qtquick-accessible.html#pressAction-signal">Accessible.pressAction</a> which can be invoked by assistive tools to trigger the button. This signal handler needs to have the same effect as tapping or clicking the button would have.</p>
<p><b>请参考 </b><a href="../qtdoc/accessible.html">Accessibility</a>。</p>
<!-- @@@Accessible -->
<h2>属性文档</h2>
<!-- $$$checkStateMixed -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="checkStateMixed-prop">
<td class="tblQmlPropNode"><p>
<a name="checkStateMixed-prop"></a><span class="name">checkStateMixed</span> : <span class="type"><a href="../qtqml/qml-bool.html">bool</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether this item is in the partially checked state.</p>
<p>By default this property is <code>false</code>.</p>
<p><b>请参考 </b><a href="qml-qtquick-accessible.html#checked-prop">checked</a> 和 <a href="qml-qtquick-accessible.html#checkable-prop">checkable</a>。</p>
</div></div><!-- @@@checkStateMixed -->
<br/>
<!-- $$$checkable -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="checkable-prop">
<td class="tblQmlPropNode"><p>
<a name="checkable-prop"></a><span class="name">checkable</span> : <span class="type"><a href="../qtqml/qml-bool.html">bool</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether this item is checkable (like a check box or some buttons).</p>
<p>By default this property is <code>false</code>.</p>
<p><b>请参考 </b><a href="qml-qtquick-accessible.html#checked-prop">checked</a>。</p>
</div></div><!-- @@@checkable -->
<br/>
<!-- $$$checked -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="checked-prop">
<td class="tblQmlPropNode"><p>
<a name="checked-prop"></a><span class="name">checked</span> : <span class="type"><a href="../qtqml/qml-bool.html">bool</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether this item is currently checked.</p>
<p>By default this property is <code>false</code>.</p>
<p><b>请参考 </b><a href="qml-qtquick-accessible.html#checkable-prop">checkable</a>。</p>
</div></div><!-- @@@checked -->
<br/>
<!-- $$$defaultButton -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="defaultButton-prop">
<td class="tblQmlPropNode"><p>
<a name="defaultButton-prop"></a><span class="name">defaultButton</span> : <span class="type"><a href="../qtqml/qml-bool.html">bool</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether this item is the default button of a dialog.</p>
<p>By default this property is <code>false</code>.</p>
</div></div><!-- @@@defaultButton -->
<br/>
<!-- $$$description -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="description-prop">
<td class="tblQmlPropNode"><p>
<a name="description-prop"></a><span class="name">description</span> : <span class="type"><a href="../qtqml/qml-string.html">string</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property sets an accessible description. Similar to the name it describes the item. The description can be a little more verbose and tell what the item does, for example the functionallity of the button it describes.</p>
</div></div><!-- @@@description -->
<br/>
<!-- $$$editable -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="editable-prop">
<td class="tblQmlPropNode"><p>
<a name="editable-prop"></a><span class="name">editable</span> : <span class="type"><a href="../qtqml/qml-bool.html">bool</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether this item has editable text.</p>
<p>By default this property is <code>false</code>.</p>
</div></div><!-- @@@editable -->
<br/>
<!-- $$$focusable -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="focusable-prop">
<td class="tblQmlPropNode"><p>
<a name="focusable-prop"></a><span class="name">focusable</span> : <span class="type"><a href="../qtqml/qml-bool.html">bool</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether this item is focusable.</p>
<p>By default, this property is <code>false</code> except for items where the role is one of <code>CheckBox</code>, <code>RadioButton</code>, <code>Button</code>, <code>MenuItem</code>, <code>PageTab</code>, <code>EditableText</code>, <code>SpinBox</code>, <code>ComboBox</code>, <code>Terminal</code> or <code>ScrollBar</code>.</p>
<p><b>请参考 </b><a href="qml-qtquick-accessible.html#focused-prop">focused</a>。</p>
</div></div><!-- @@@focusable -->
<br/>
<!-- $$$focused -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="focused-prop">
<td class="tblQmlPropNode"><p>
<a name="focused-prop"></a><span class="name">focused</span> : <span class="type"><a href="../qtqml/qml-bool.html">bool</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether this item currently has the active focus.</p>
<p>By default, this property is <code>false</code>, but it will return <code>true</code> for items that have <a href="qquickitem.html#activeFocus-prop">QQuickItem::hasActiveFocus()</a> returning <code>true</code>.</p>
<p><b>请参考 </b><a href="qml-qtquick-accessible.html#focusable-prop">focusable</a>。</p>
</div></div><!-- @@@focused -->
<br/>
<!-- $$$ignored -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="ignored-prop">
<td class="tblQmlPropNode"><p>
<a name="ignored-prop"></a><span class="name">ignored</span> : <span class="type"><a href="../qtqml/qml-bool.html">bool</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether this item should be ignored by the accessibility framework.</p>
<p>Sometimes an item is part of a group of items that should be treated as one. For example two labels might be visually placed next to each other, but separate items. For accessibility purposes they should be treated as one and thus they are represented by a third invisible item with the right geometry.</p>
<p>For example a speed display adds &quot;m/s&quot; as a smaller label:</p>
<pre class="qml">

  <span class="type"><a href="qml-qtquick-row.html">Row</a></span> {
      <span class="type"><a href="../qtquickcontrols1/qml-qtquick-controls-label.html">Label</a></span> {
          <span class="name">id</span>: <span class="name">speedLabel</span>
          <span class="name">text</span>: <span class="string">&quot;Speed: 5&quot;</span>
          <span class="name">Accessible</span>.ignored: <span class="number">true</span>
      }
      <span class="type"><a href="../qtquickcontrols1/qml-qtquick-controls-label.html">Label</a></span> {
          <span class="name">text</span>: <span class="name">qsTr</span>(<span class="string">&quot;m/s&quot;</span>)
          <span class="name">Accessible</span>.ignored: <span class="number">true</span>
      }
      <span class="name">Accessible</span>.role: <span class="name">Accessible</span>.<span class="name">StaticText</span>
      <span class="name">Accessible</span>.name: <span class="name">speedLabel</span>.<span class="name">text</span> <span class="operator">+</span> <span class="string">&quot; meters per second&quot;</span>
  }

</pre>
<p>By default this property is <code>false</code>.</p>
<p>This property was introduced in  Qt 5.4.</p>
</div></div><!-- @@@ignored -->
<br/>
<!-- $$$multiLine -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="multiLine-prop">
<td class="tblQmlPropNode"><p>
<a name="multiLine-prop"></a><span class="name">multiLine</span> : <span class="type"><a href="../qtqml/qml-bool.html">bool</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether this item has multiple text lines.</p>
<p>By default this property is <code>false</code>.</p>
</div></div><!-- @@@multiLine -->
<br/>
<!-- $$$name -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="name-prop">
<td class="tblQmlPropNode"><p>
<a name="name-prop"></a><span class="name">name</span> : <span class="type"><a href="../qtqml/qml-string.html">string</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property sets an accessible name. For a button for example, this should have a binding to its text. In general this property should be set to a simple and concise but human readable name. Do not include the type of control you want to represent but just the name.</p>
</div></div><!-- @@@name -->
<br/>
<!-- $$$passwordEdit -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="passwordEdit-prop">
<td class="tblQmlPropNode"><p>
<a name="passwordEdit-prop"></a><span class="name">passwordEdit</span> : <span class="type"><a href="../qtqml/qml-bool.html">bool</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether this item is a password text edit.</p>
<p>By default this property is <code>false</code>.</p>
</div></div><!-- @@@passwordEdit -->
<br/>
<!-- $$$pressed -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="pressed-prop">
<td class="tblQmlPropNode"><p>
<a name="pressed-prop"></a><span class="name">pressed</span> : <span class="type"><a href="../qtqml/qml-bool.html">bool</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether this item is pressed (for example a button during a mouse click).</p>
<p>By default this property is <code>false</code>.</p>
</div></div><!-- @@@pressed -->
<br/>
<!-- $$$readOnly -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="readOnly-prop">
<td class="tblQmlPropNode"><p>
<a name="readOnly-prop"></a><span class="name">readOnly</span> : <span class="type"><a href="../qtqml/qml-bool.html">bool</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property indicates that a text field is read only.</p>
<p>It is relevant when the role is <a href="../qtgui/qaccessible.html#Role-enum">QAccessible::EditableText</a> and set to be read-only. By default this property is <code>false</code>.</p>
</div></div><!-- @@@readOnly -->
<br/>
<!-- $$$role -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="role-prop">
<td class="tblQmlPropNode"><p>
<a name="role-prop"></a><span class="name">role</span> : <span class="type"><a href="../qtqml/qml-enumeration.html">enumeration</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This flags sets the semantic type of the widget. A button for example would have &quot;Button&quot; as type. The value must be one of <a href="../qtgui/qaccessible.html#Role-enum">QAccessible::Role</a>.</p>
<p>Some roles have special semantics. In order to implement check boxes for example a &quot;checked&quot; property is expected.</p>
<div class="table"><table class="generic">
 <thead><tr class="qt-style"><th ><b>Role</b></th><th ><b>Properties and signals</b></th><th ><b>Explanation</b></th></tr></thead>
<tr valign="top" class="odd"><td >All interactive elements</td><td ><a href="qml-qtquick-accessible.html#focusable-prop">focusable</a> and <a href="qml-qtquick-accessible.html#focused-prop">focused</a></td><td >All elements that the user can interact with should have focusable set to <code>true</code> and set <code>focus</code> to <code>true</code> when they have the focus. This is important even for applications that run on touch-only devices since screen readers often implement a virtual focus that can be moved from item to item.</td></tr>
<tr valign="top" class="even"><td >Button, <a href="../qtquickcontrols1/qml-qtquick-controls-checkbox.html">CheckBox</a>, <a href="../qtquickcontrols1/qml-qtquick-controls-radiobutton.html">RadioButton</a></td><td ><a href="qml-qtquick-accessible.html#pressAction-signal">Accessible.pressAction</a></td><td >A button should have a signal handler with the name <code>onPressAction</code>. This signal may be emitted by an assistive tool such as a screen-reader. The implementation needs to behave the same as a mouse click or tap on the button.</td></tr>
<tr valign="top" class="odd"><td ><a href="../qtquickcontrols1/qml-qtquick-controls-checkbox.html">CheckBox</a>, <a href="../qtquickcontrols1/qml-qtquick-controls-radiobutton.html">RadioButton</a></td><td ><a href="qml-qtquick-accessible.html#checkable-prop">checkable</a>, <a href="qml-qtquick-accessible.html#checked-prop">checked</a>, <a href="qml-qtquick-accessible.html#toggleAction-signal">Accessible.toggleAction</a></td><td >The check state of the check box. Updated on Press, Check and Uncheck actions.</td></tr>
<tr valign="top" class="even"><td >Slider, <a href="../qtquickcontrols1/qml-qtquick-controls-spinbox.html">SpinBox</a>, Dial, <a href="../qtquickcontrols1/qml-qtquick-controls-private-scrollbar.html">ScrollBar</a></td><td ><code>value</code>, <code>minimumValue</code>, <code>maximumValue</code>, <code>stepSize</code></td><td >These properties reflect the state and possible values for the elements.</td></tr>
<tr valign="top" class="odd"><td >Slider, <a href="../qtquickcontrols1/qml-qtquick-controls-spinbox.html">SpinBox</a>, Dial, <a href="../qtquickcontrols1/qml-qtquick-controls-private-scrollbar.html">ScrollBar</a></td><td ><a href="qml-qtquick-accessible.html#increaseAction-signal">Accessible.increaseAction</a>, <a href="qml-qtquick-accessible.html#decreaseAction-signal">Accessible.decreaseAction</a></td><td >Actions to increase and decrease the value of the element.</td></tr>
</table></div>
</div></div><!-- @@@role -->
<br/>
<!-- $$$searchEdit -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="searchEdit-prop">
<td class="tblQmlPropNode"><p>
<a name="searchEdit-prop"></a><span class="name">searchEdit</span> : <span class="type"><a href="../qtqml/qml-bool.html">bool</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether this item is input for a search query. This property will only affect editable text.</p>
<p>By default this property is <code>false</code>.</p>
</div></div><!-- @@@searchEdit -->
<br/>
<!-- $$$selectable -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="selectable-prop">
<td class="tblQmlPropNode"><p>
<a name="selectable-prop"></a><span class="name">selectable</span> : <span class="type"><a href="../qtqml/qml-bool.html">bool</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether this item can be selected.</p>
<p>By default this property is <code>false</code>.</p>
<p><b>请参考 </b><a href="qml-qtquick-accessible.html#selected-prop">selected</a>。</p>
</div></div><!-- @@@selectable -->
<br/>
<!-- $$$selectableText -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="selectableText-prop">
<td class="tblQmlPropNode"><p>
<a name="selectableText-prop"></a><span class="name">selectableText</span> : <span class="type"><a href="../qtqml/qml-bool.html">bool</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether this item contains selectable text.</p>
<p>By default this property is <code>false</code>.</p>
</div></div><!-- @@@selectableText -->
<br/>
<!-- $$$selected -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="selected-prop">
<td class="tblQmlPropNode"><p>
<a name="selected-prop"></a><span class="name">selected</span> : <span class="type"><a href="../qtqml/qml-bool.html">bool</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds whether this item is selected.</p>
<p>By default this property is <code>false</code>.</p>
<p><b>请参考 </b><a href="qml-qtquick-accessible.html#selectable-prop">selectable</a>。</p>
</div></div><!-- @@@selected -->
<br/>
<h2>Signal Documentation</h2>
<!-- $$$decreaseAction -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="decreaseAction-signal">
<td class="tblQmlFuncNode"><p>
<a name="decreaseAction-signal"></a><span class="name">decreaseAction</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This signal is emitted when a decrease action is received from an assistive tool such as a screen-reader.</p>
<p>The corresponding handler is <code>onDecreaseAction</code>.</p>
</div></div><!-- @@@decreaseAction -->
<br/>
<!-- $$$increaseAction -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="increaseAction-signal">
<td class="tblQmlFuncNode"><p>
<a name="increaseAction-signal"></a><span class="name">increaseAction</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This signal is emitted when a increase action is received from an assistive tool such as a screen-reader.</p>
<p>The corresponding handler is <code>onIncreaseAction</code>.</p>
</div></div><!-- @@@increaseAction -->
<br/>
<!-- $$$nextPageAction -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="nextPageAction-signal">
<td class="tblQmlFuncNode"><p>
<a name="nextPageAction-signal"></a><span class="name">nextPageAction</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This signal is emitted when a next page action is received from an assistive tool such as a screen-reader.</p>
<p>The corresponding handler is <code>onNextPageAction</code>.</p>
</div></div><!-- @@@nextPageAction -->
<br/>
<!-- $$$pressAction -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="pressAction-signal">
<td class="tblQmlFuncNode"><p>
<a name="pressAction-signal"></a><span class="name">pressAction</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This signal is emitted when a press action is received from an assistive tool such as a screen-reader.</p>
<p>The corresponding handler is <code>onPressAction</code>.</p>
</div></div><!-- @@@pressAction -->
<br/>
<!-- $$$previousPageAction -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="previousPageAction-signal">
<td class="tblQmlFuncNode"><p>
<a name="previousPageAction-signal"></a><span class="name">previousPageAction</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This signal is emitted when a previous page action is received from an assistive tool such as a screen-reader.</p>
<p>The corresponding handler is <code>onPreviousPageAction</code>.</p>
</div></div><!-- @@@previousPageAction -->
<br/>
<!-- $$$scrollDownAction -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="scrollDownAction-signal">
<td class="tblQmlFuncNode"><p>
<a name="scrollDownAction-signal"></a><span class="name">scrollDownAction</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This signal is emitted when a scroll down action is received from an assistive tool such as a screen-reader.</p>
<p>The corresponding handler is <code>onScrollDownAction</code>.</p>
</div></div><!-- @@@scrollDownAction -->
<br/>
<!-- $$$scrollLeftAction -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="scrollLeftAction-signal">
<td class="tblQmlFuncNode"><p>
<a name="scrollLeftAction-signal"></a><span class="name">scrollLeftAction</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This signal is emitted when a scroll left action is received from an assistive tool such as a screen-reader.</p>
<p>The corresponding handler is <code>onScrollLeftAction</code>.</p>
</div></div><!-- @@@scrollLeftAction -->
<br/>
<!-- $$$scrollRightAction -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="scrollRightAction-signal">
<td class="tblQmlFuncNode"><p>
<a name="scrollRightAction-signal"></a><span class="name">scrollRightAction</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This signal is emitted when a scroll right action is received from an assistive tool such as a screen-reader.</p>
<p>The corresponding handler is <code>onScrollRightAction</code>.</p>
</div></div><!-- @@@scrollRightAction -->
<br/>
<!-- $$$scrollUpAction -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="scrollUpAction-signal">
<td class="tblQmlFuncNode"><p>
<a name="scrollUpAction-signal"></a><span class="name">scrollUpAction</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This signal is emitted when a scroll up action is received from an assistive tool such as a screen-reader.</p>
<p>The corresponding handler is <code>onScrollUpAction</code>.</p>
</div></div><!-- @@@scrollUpAction -->
<br/>
<!-- $$$toggleAction -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="toggleAction-signal">
<td class="tblQmlFuncNode"><p>
<a name="toggleAction-signal"></a><span class="name">toggleAction</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This signal is emitted when a toggle action is received from an assistive tool such as a screen-reader.</p>
<p>The corresponding handler is <code>onToggleAction</code>.</p>
</div></div><!-- @@@toggleAction -->
<br/>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>
